// 会员中心-订单-接口
import request from '@/utils/request'

// 生成订单(即填写订单或结算页)
export const getOrderAPI = data => request('/member/order/pre', 'GET', data)
// 提交订单
export const submitOrderAPI = data => request('/member/order', 'POST', data)
// 获取我的订单详情
export const getOrderDetailAPI = data => request(`/member/order/${data.id}`, 'GET', data)
